From b0fc43e9588aa076a84c71f22a74610c918625b5 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Mon, 19 Apr 2010 21:50:55 -0400 Subject: [PATCH] Reduced natural request padding for rotating ellipsizing labels After fixing height requests this works much smoother, although in some places pango seems to ellipsize a rotated label when given the width it requested. --- gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 0e292207b3..ff210feb92 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -156,7 +156,7 @@ enum { /* When rotating ellipsizable text we want the natural size to request * more to ensure the label wont ever ellipsize in an allocation of full natural size. * */ -#define ROTATION_ELLIPSIZE_PADDING 12 +#define ROTATION_ELLIPSIZE_PADDING 2 static guint signals[LAST_SIGNAL] = { 0 }; -- 2.30.2